#define _CRT_SECURE_NO_WARNINGS  1
#include<stdio.h>
int my_strlen(char* str)
{
	int count = 0;
	while (*str)
	{
		count++;
		str++;
	}
	return count;
}
int main()
{
	printf("%d", my_strlen("abd"));
	return 0;
}